package com.imti.mall.sale.service;

import com.imti.mall.model.sms.pojo.SmsHomeAdvertise;
import com.imti.mall.sale.mapper.SmsHomeAdvertiseMapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;

import java.util.List;

public interface SmsHomeAdvertiseService {

    /**
     * 查询首页轮播广告表
     */
    public List<SmsHomeAdvertise> findSmsHomeAdvertise(SmsHomeAdvertise smsHomeAdvertise,Integer pageSize, Integer pageNum);


    /**
     * 根据id查询首页轮播广告表
     */
    public SmsHomeAdvertise getmsHomeAdvertise(Integer id);


    /**
     * 修改首页轮播广告表
     * @param smsHomeAdvertise
     * @return
     */
    public Integer updateSmsHomeAdvertise(SmsHomeAdvertise smsHomeAdvertise);

    /**
     * 删除首页轮播广告表
     * @param id
     * @return
     */
    public Integer delSmsHomeAdvertise(Integer id);

    /**
     * 添加首页轮播广告表
     * @param smsHomeAdvertise
     * @return
     */
    public  Integer addSmsHomeAdvertise(SmsHomeAdvertise smsHomeAdvertise);

    /**
     * 删除首页轮播广告表
     * @param id
     * @return
     */
    public SmsHomeAdvertise getSmsHomeAdvertise(Long id);
}
